package com.yao.spider.yiyao;

import com.yao.spider.core.util.MyBatiesUtils;
import com.yao.spider.shanghai.JsonConvert;
import com.yao.spider.shanghai.bean.FastMail;
import com.yao.spider.shanghai.dao.FastMailDao;
import com.yao.spider.shanghai.dao.FastMailDaoImpl;
import com.yao.spider.yiyao.bean.DongFMBean;
import com.yao.spider.yiyao.dao.DongFMBeanDao;
import com.yao.spider.yiyao.dao.DongFMBeanDaoImpl;
import org.apache.ibatis.session.SqlSession;

import java.io.*;
import java.util.ArrayList;
import java.util.List;

public class YiYaoStart {
    public static void main(String[] args) {
        fastMail();
    }
    public static void fastMail() {


        DongFMBeanDao fastMailDao = new DongFMBeanDaoImpl();

        SqlSession sqlSession = MyBatiesUtils.getSqlSession();
        DongFMBean person = new DongFMBean();
        person.setApplyNo("11");
        person.setAboutJb("asdfasdf");
        person.setIndex(1);
        person.setShiYz("asdfasdf");
        fastMailDao.insert(person, sqlSession);

    }




}
